﻿<Window x:Class="TestBed"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Test Bed" Height="300" Width="300">
    <Window.Resources>
        <DataTemplate x:Key="CheckBoxListTemplate">
            <CheckBox Name="CheckBox" Content="{Binding Name}" ></CheckBox>
        </DataTemplate>
    </Window.Resources>

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <ListBox x:Name="CheckBoxList" ItemTemplate="{StaticResource CheckBoxListTemplate}"/>
        <Button x:Name="Load" Content="Load" Grid.Column="0" Grid.Row="1" Height="25" VerticalAlignment="Bottom" />
        <Button x:Name="LoadAgain" Content="Load Again" Grid.Column="1" Grid.Row="1" Height="25" VerticalAlignment="Bottom" />
        <Button x:Name="Refresh" Content="Refresh" Grid.Column="2" Grid.Row="1" Height="25" VerticalAlignment="Bottom" />
    </Grid>
</Window>
